package com.zhuhjay.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author ZhuHJay
 */
public interface VodService {
    /**
     * 上传视频到阿里云
     * @param file
     * @return
     */
    String uploadVideoAly(MultipartFile file);

    /**
     * 根据视频ID删除阿里云中的视频
     * @param videoId
     */
    void removeVideoAly(String videoId);

    /**
     * 批量删除视频
     * @param videoList
     */
    void removeAllVideoAly(List<String> videoList);
}
